package com.deyuanyun.pic.settings.service.base;

import com.deyuanyun.pic.settings.domain.base.BizThreshold;

/**
 * The interface Biz threshold service.
 */
public interface BizThresholdService {


    /**
     * Select by primary key biz threshold.
     *
     * @param id the id
     * @return the biz threshold
     */
    BizThreshold selectByPrimaryKey(String id);


    /**
     * Delete by primary key int.
     *
     * @param id the id
     * @return the int
     */
    int deleteByPrimaryKey(String id);


    /**
     * Update by primary key selective int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKeySelective(BizThreshold record);


    /**
     * Update by primary key int.
     *
     * @param record the record
     * @return the int
     */
    int updateByPrimaryKey(BizThreshold record);


    /**
     * Insert int.
     *
     * @param record the record
     * @return the int
     */
    int insert(BizThreshold record);


    /**
     * Insert selective int.
     *
     * @param record the record
     * @return the int
     */
    int insertSelective(BizThreshold record);


    /**
     * 恢复出厂设置
     *
     * @param parentId 父级阀值id
     * @return list list
     * @author axiao(xj08.dream gmail.com)
     * @date 2016 -07-06
     */
    public int updateSystemChildInfo(String parentId);

    /**
     * 根据类型查询初始系统设置信息
     * @param type
     * @return
     * @author axiao(xj08.dream gmail.com)
     * @date 2016 -07-06
     */
    public BizThreshold querySysByType(String type);

}
